<?php
Route::any('(:bundle)', array('as' => 'wiki', 'uses' => 'wiki::dashboard@index'));
Route::any('(:bundle)/(:num)', array('as' => 'entry', 'uses' => 'wiki::entry@detail'));
Route::any('(:bundle)/edit/(:num?)', array('as' => 'edit_entry', 'uses' => 'wiki::entry@edit'));
Route::any('(:bundle)/search/tag/(:any?)', array('as' => 'search_tag', 'uses' => 'wiki::search@tag'));
Route::any('(:bundle)/search/entry/(:any?)', array('as' => 'search_entry', 'uses' => 'wiki::search@entry'));
Route::any('(:bundle)/search/category/(:any?)', array('as' => 'search_category', 'uses' => 'wiki::search@category'));